//
//  YbrHTTPServiceUtil.m
//  wifibox
//
//  Created by os X 10.9 on 15-1-14.
//  Copyright (c) 2015年 yinbaner. All rights reserved.
//  获得HTTPService的访问路径

#import "YbrHTTPServiceUtil.h"
#import "YbrPerferenceTool.h"
#import "NSString+Ybr.h"


@implementation YbrHTTPServiceUtil


+(NSString *) getHttpPath:(NSString *) filePath
{
    if([NSString isEmpty:filePath])
    {
        return nil;
    }
        
    filePath        =   [filePath stringByReplacingOccurrencesOfString:getDocument withString:[[YbrPerferenceTool prefer] getHttpServiceUri]];
    NSLog(@"------- 本地web服务器的地址  ----------  推送到音箱的文件的路径是    :::  转换后的地址是  ----  %@" ,filePath);
    return filePath;
}


@end
